package cn.linran.org.service;

import cn.linran.basic.service.IBaseService;
import cn.linran.org.domain.Employee;
import cn.linran.org.domain.Shop;
import cn.linran.org.domain.ShopAuditLog;
import cn.linran.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 部门服务接口
 */
public interface IShopService extends IBaseService<Shop> {

    void settlemnt(Shop shop);

    void pass(ShopAuditLog log) throws MessagingException;

    void reject(ShopAuditLog log) throws MessagingException;

    /**
     * 查询状态分组，返回echarts数据
     * @return
     */
    List<ShopDto> getEcharts();
}
